package edu.java.lectures.lec12.threads.synchronization.dynamic.bank;

public class ThreadsSynchTest {

    public static void main(String[] args) {
	BankAccount bankAccount = new BankAccount(50);

	// Dady dady = new Dady(bankAccount);
	Kid pencho = new Kid("Pencho", bankAccount);
	Kid mincho = new Kid("Mincho", bankAccount);

	// Thread dadyThread = new Thread(dady, "dady");
	// Thread penchoThread = new Thread(kid, "Pencho");
	// Thread minchoThread = new Thread(kid, "Mincho");

	pencho.start();
	mincho.start();
    }
}
